function createCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*500));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

function eraseCookie(name) {
	createCookie(name,"",-1);
}
if (readCookie('showads')!='no')
{
createCookie('showads','no',1);
	var pup55=0;
	function pop()
	{
	if(pup55==0)
	{
	
	window.focus();
	popwin.blur();
	pup55=1;}}
	//document.onclick=pop;
}






////////// CONFIGURE THE COUNTDOWN SCRIPT HERE //////////////////

var month = '*';     //  '*' for next month, '0' for this month or 1 through 12 for the month 
var day = '0';        //  Offset for day of month day or + day  
var hour = 0;        //  0 through 23 for the hours of the day
var tz = -5;          //  Offset for your timezone in hours from UTC
var lab = 'tzcd';      //  The id of the page entry where the timezone countdown is to show

function start() {displayTZCountDown(20,lab); }

    // **    The start function can be changed if required   **
//window.onload = start;

////////// DO NOT EDIT PAST THIS LINE //////////////////

function displayTZCountDown(countdown,tzcd) 




{
if (countdown < 0) 
{
	document.getElementById('downdiv').style.visibility = 'visible';


   
	document.getElementById('counterdiv').style.visibility = 'hidden';
  
}
else {
document.getElementById(tzcd).innerHTML = countdown+' <img src="http://4.bp.blogspot.com/-1p9Me0n8L7s/UfP37Xrk3BI/AAAAAAAAA3w/39m3y86pqQU/s1600/spinner.gif" />';




setTimeout('displayTZCountDown('+(countdown-1)+',\''+tzcd+'\');',50);


}
}